﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cookie_Hero
{
    class Log
    {
        private const bool LOG = true;
        private const bool WARNINGS_ONLY = false;

        public Log()
        {
        }

        /* Log verbose */
        public static void V(String message)
        {
            if (LOG && !WARNINGS_ONLY)
            {
                Console.WriteLine("LOG: "+message);
            }
        }

        /* Log warning */
        public static void W(String message)
        {
            if (LOG)
            {
                Console.WriteLine("WARNING: " + message);
            }
        }

        /* Log exception */
        public static void E(String message)
        {
            if (LOG)
            {
                Console.WriteLine("EXCEPTION: " + message);
            }
        }
    }
}
